package com.zc.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

@Component
@FeignClient(value = "cloud-nacos-payment", fallback = PaymentFallbackService.class)
public interface PaymentService {
    @GetMapping("/getPayment")
    String getPayment();
}
